package com.mashibing.jvm.basic;

class Person {

    private String name = "sunpeng";
    private int age;
    private final double salary = 100;
    private static String address;
    private static final String hobby = "book";
    private static Object obj = new Object();

    public void say(){
        System.out.println("person say ...");
    }

    public static int calc(int op1, int op2){
        op1 = 3;
        int result = op1 +op2;
        Object opj = new Object();
        return result;
    }

    public static void main(String[] args) {
        calc(1, 2);
    }
}
